package com.cn.wxwinnie.effectivejava.ex4;

import java.util.Date;

public class Test {

	public static void main(String[] args) {
		Student s1 = new Student();
		s1.setId(1);
		s1.setStuNo("0001");
		s1.setName("wx");
		s1.setBirthday(new Date());
		
		Student s2 = new Student();
		s2.setId(2);
		s2.setStuNo("0002");
		s2.setName("wy");
		s2.setBirthday(new Date());
		
		System.out.println(s1.toString()  );
		System.out.println(s2.toString()  );
	}

}
